package vsm.vsm_server.service.impl;


import org.springframework.stereotype.Service;
import vsm.vsm_server.mapper.ImageMapper;
import vsm.vsm_server.mapper.UserMapper;
import vsm.vsm_server.pojo.Image.Image;
import vsm.vsm_server.service.ImageService;
import org.springframework.scheduling.annotation.Async;
import java.math.BigInteger;

@Service
@Async
public class ImageServiceImpl implements ImageService {
    private ImageMapper imageMapper;
    public ImageServiceImpl (ImageMapper imageMapper) {
        this.imageMapper=imageMapper;

    }
    @Override
    public void createImage(Image image) {

        imageMapper.createImage(image);
    }
}
